* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    background: white;
    height: 100vh;
}

.hover-green {
    transition: color;
    cursor: help;
}

.studio {
 transition: color;
    cursor: help;   
}

.hover-green:hover {
    color: rgb(140, 198, 63);
}

.naam-joey{
    text-decoration: none;
    transition: color;
    cursor: pointer;
}

.naam-joey:hover {
    color: rgb(225,129,238)
}

.bio-text {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.bio-image {
    height: 100%;
    width: auto;

    object-fit: contain;
    display: block;
}

.mailaddress {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-weight: 500;

    display: inline-block;
}

.mailaddress:hover {
    color: rgb(140, 198, 63);
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;

    cursor: pointer;
    font-size: 14px;
}

.close-btn:hover {
    font-style: italic;
}

.close-btn:hover {
    font-style: italic;
    cursor: pointer;
}

.overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 998;
}

.overlay-box {
    position: absolute;

    top: 20%;
    left: 50%;
    transform: translateX(-50%);

    width: 25%;
    min-height: 200px;

    background: white;
    border: 2px solid black;

    padding: 20px;
}
.overlay-box p {
    margin-top: 8px;
}



#studio-name:checked ~ .overlay {
    display: block;
}

/* PAGE WRAPPER */
.container {
    width: 95%;
    height: 100vh;
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    padding-top: 40px;
}

/* HEADER */
.header {
    position: relative;
    margin-top: 30px;
    flex-shrink: 0;
}

/* UNIFIED LINES (FIXED THICKNESS) */
.top-line {
    height: 2px;
    background: black;
    width: 100%;
    display: block;
    z-index: 2;
}


.bottom-line {
    height: 1.5px;
    background: black;
    width: 100%;
    display: block;
}

/* LOGO */
.logo {
    position: absolute;

    left: 50%;
    transform: translate(-50%, 1px);

    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 44px;

    background: white;
    border: 2px solid black;

    padding: 0 14px;

    text-decoration: none;
    color: inherit;

    line-height: 1;
    margin: 0;
}

/* LOGO TEXT */
.logo-text {
    font-family: "broadsheet", serif;
    font-size: 30px;
    font-style: italic;
    line-height: 1;

    transform: translateY(-4px); /* optical centering fix */
}

/* MAIN CONTENT */
.content {
    flex: 1;

    display: flex;
    justify-content: space-between;
    gap: 50px;

    align-items: stretch;

    min-height: 0;
}

/* NAVIGATION */
.navigation {
    width: 25%;

    display: flex;
    flex-direction: column;
    gap: 25px;

    padding-top: 20px;

    align-items: flex-start;
}

.navigation a {
    text-decoration: none;
    color: black;
    font-size: 1.5rem;
    font-weight: 500;

    display: inline-block;
}

.studio-spelling {
    color: black;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.navigation a:hover {
    font-style: italic;
}

.nav-item {
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}

.nav-item:hover {
    font-style: italic;
}

.toggle {
    display: none;
}

#about-toggle:checked ~ .about-block {
    display: block;
}

.about-block {
    display: none;
    margin-top: -10px;
}


.about-text p {
    margin-bottom: 12px;
}

.about-text p:last-child {
    margin-bottom: 0;
}
/* contact */
#contact-toggle:checked ~ .contact-block {
    display: block;
}

.contact-block {
    display: none;
    margin-top: -10px;
}

.contact-text p {
    margin-bottom: 12px;
}

.contact-text p:last-child {
    margin-bottom: 0;
}

/* projects */
#projects-toggle:checked ~ .projects-block {
    display: block;
}

.projects-block {
    display: none;
    margin-top: -10px;
}

.projects-text p {
    margin-bottom: 12px;
}

.projects-text p:last-child {
    margin-bottom: 0;
}

/* collaborate */
#collaborate-toggle:checked ~ .collaborate-block {
    display: block;
}

.collaborate-block {
    display: none;
    margin-top: -10px;
}

.collaborate-text p {
    margin-bottom: 12px;
}

.collaborate-text p:last-child {
    margin-bottom: 0;
}

.divider-image {
    margin-top: -10px;
    margin-bottom: 5px;
}

.divider-image img {
    width: 100%;
    display: block;
}

.about-text {
    font-size: 1em;
    line-height: 1.4;
    max-width: 100%;
}

/* IMAGE */
.image-section {
    width: 70%;
    display: flex;
    min-height: 0;
    height: 100%;

}

.image-wrapper {
    position: relative;
    width: 95%;
    height: 100%;
}

/* IMAGE INFO HOVER */
.image-info {
    position: absolute;

    bottom: 20px;
    right: 20px;

    background: white;
    border: 2px solid black;

    padding: 10px 12px;

    font-size: 10pt;

    opacity: 0;
    pointer-events: none;

    z-index: 3;

    transition: opacity 0.5s ease;
}

.base-image,
.hover-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.hover-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-wrapper:hover .image-info {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.image-wrapper:hover .hover-image {
    opacity: 1;
    transition: opacity 0.5s ease;    
}

.main-image,
.background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.main-image {
    object-fit: cover;
    display: block;
}

.background {
    background: white;
    border: 2px solid black;

    padding: 20px;

    display: none;
    overflow: auto;
}

#background-toggle:checked ~ .main-image {
    display: none;
}

#background-toggle:checked ~ .background {
    display: block;
}

/* FOOTER */
.footer {
    flex-shrink: 0;
}

.credit {
    text-align: right;
    margin-top: 12px;
    font-size: 1rem;
    color: #000;
    padding-bottom: 10px;
}